package com.hqyj.hrms.modules.account.service;

import com.hqyj.hrms.modules.account.entity.Power;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.hrms.modules.account.entity.Role;

import java.util.HashMap;


public interface PowerService {

    //查询权限
    //HashMap<String, Object> selectPower(String userName);

    //新增
    HashMap<String, Object> add(Power power);

    //修改
    HashMap<String, Object> update(Power power);

    //删除
    HashMap<String, Object> del(Integer id);

    //查询
    HashMap<String, Object> list(Power power);
}
